package mr.ali.video.web.controller;


import mr.ali.video.web.model.CollectionTag;
import mr.ali.video.web.service.ICollectionTagService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author Mr-ali
 * @since 2025-08-03
 */
@RestController
@RequestMapping("/web/collectionTag")
public class CollectionTagController {
        @Resource
        private ICollectionTagService collectionTagService;

        // 此处可添加具体实现接口的方法，示例如下
        @GetMapping("/list")
        public List<CollectionTag> listCollectionTags() {
            return collectionTagService.selectCollectionTagList();
        }


}
